<a href="<?php echo $this->url(array('controller' => 'user', 'action' => 'add-user'), null, true); ?>">Dodaj użytkownika</a><br /><br />
<table class="users">
    <tr>
        <td>Email</td>
        <td>Aktywny</td>
        <td>Data Utworzenia</td>
    </tr>
    <?php foreach ($this->users as $user): ?>
        <tr>
            <td> <?php echo $user->email ?></td>
            <td> <?php echo $user->aktywny ?></td>
            <td> <?php echo $user->dataUtworzenia ?></td>
            <td> <a href="<?php echo $this->url(array('controller' => 'user', 'action' => 'edit-user', 'mail' => $user->email), null, true); ?>">zmień hasło</a></td>
            <td> <a href="<?php echo $this->url(array('controller' => 'user', 'action' => 'delete-user', 'mail' => $user->email), null, true); ?>">usuń</a></td>
            <td> <a href="<?php echo $this->url(array('controller' => 'book', 'action' => 'user-orders', 'email' => $user->email), null, true); ?>">zamówienia</a></td>            

        </tr>
    <?php endforeach ?>

</table>